<style>
</style>
<template>
    <ly-page>
        <ly-navi type="back" title="配置菜单"></ly-navi>
        <ly-page-content>
            <ly-markdown>
                <pre v-pre>

### 配置菜单
------
####菜单位置

>/util/menus.json

```
####菜单结构
[ {
    "name": "开始",           //简称
    "title": "快速开始",       //名称
    "icon": "el-icon-brush",  //图标,只有一级菜单需要
     "code":"code1",     //权限编码全局唯一
    "children": [             //二级菜单
      {
        "name": "安装",
        "code":"code1.code1",
        "link": "/basic/color",   //对应地址
        "links": ["/basic/color","更多链接"], //关联地址,关系到当直接打开关联地址时,菜单的显示情况
      },
      {
        "name": "三级菜单",             //菜单支持三级
        children:[{
                    "name": "安装",
                    "code":"code1.code1",
                    "link": "/basic/color",   //对应地址
                    "links": ["/basic/color","更多链接"], //关联地址,关系到当直接打开关联地址时,菜单的显示情况  }
                    ]

      },
      {
        "name": "目录结构",
        "link": "/basic/animate"
      }
    ]
  },更多菜单]
```




                </pre>
            </ly-markdown>
        </ly-page-content>
    </ly-page>
</template>
<script>
    Rap.define("", [], function () {
        return {
            data: function () {
                return {

                }
            },
            mounted: function () {
            },
            methods: {}
        }
    })
</script>